package com.hhp.cloud.shop.admin.service.impl;

import com.hhp.cloud.shop.admin.pojo.dto.AuthUserDTO;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.hhp.cloud.shop.admin.dao.UserDao;
import com.hhp.cloud.shop.admin.pojo.entity.UserEntity;
import com.hhp.cloud.shop.admin.service.UserService;


@Service("userService")
public class UserServiceImpl extends ServiceImpl<UserDao, UserEntity> implements UserService {

    @Override
    public AuthUserDTO getByUsername(String username) {
        return this.baseMapper.getByUsername(username);
    }
}